<template>
  <div class="page">
    <div class="title">营销指引详情</div>
    <div class="content">
      <div class="form">
        <ui-form :label-position="labelPosition" label-width="150px">
          <ui-form-item label="指引编号：">
            <div class="value">{{ marketPonintInfo.pointNum }}</div>
          </ui-form-item>
          <ui-form-item label="指引内容：">
            <div class="value">{{ marketPonintInfo.pointContent }}</div>
          </ui-form-item>
          <ui-form-item label="备注：">
            <div class="value">{{ marketPonintInfo.remark }}</div>
          </ui-form-item>
        </ui-form>
      </div>
    </div>
    <div class="footer">
      <div class="buttonBox">
        <ui-button class="default-btn" @click="back">返回</ui-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'marketingPointDetail',
  components: {},
  data() {
    return {
      labelPosition: 'right',
      marketPonintInfo: {},
    };
  },
  mounted() {
    this.marketPonintInfo = JSON.parse(this.$route.query.marketPonintInfo);
  },
  methods: {
    back() {
      this.$router.back();
    },
  },
};
</script>


<style lang="scss" scoped>
.page {
  .title {
    font-size: 18px;
    color: #000;
    font-weight: bold;
  }
  .content {
    background: #fff;
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 20px;
    margin-top: 20px;
    .form {
      margin-top: 50px;
    }
  }
  .footer {
    background: #fff;
    padding: 20px;

    .buttonBox {
      border-top: 1px solid #ccc;
      padding: 20px 10px 0 10px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}
::v-deep .ui-date-editor--date .ui-input__prefix {
  left: 5px !important;
}
::v-deep .ui-date-editor--date .ui-input__inner {
  padding-left: 40px !important;
}
</style>